package classes;
/*
import android.app.Activity;
import android.content.Intent;
import android.view.ContextMenu;
import android.view.ContextMenu.ContextMenuInfo;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
import finanz.kontrolle.BancoActivity;
import finanz.kontrolle.CategoriaActivity;
import finanz.kontrolle.ContaActivity;
import finanz.kontrolle.LancamentoActivity;
import finanz.kontrolle.R;
import finanz.kontrolle.RelatorioActivity;
 */
public class Menu {
	/*
	public Menu() {
		startActivity(new Intent(  this, Menu.class));
	}
	
    public boolean onCreateOptionsMenu( Menu menu ) {
		MenuInflater inflater = getMenuInflater();
		inflater.inflate( R.menu.menugeral, (android.view.Menu) menu );
		
		return true;
	}
    
    @Override
    public boolean onOptionsItemSelected(MenuItem item) {    
    	switch( item.getItemId() ) {
			case R.id.opcc1:
				Intent banco = new Intent( Menu.this, BancoActivity.class );
				startActivity( banco );
			break;
			case R.id.opcc2:
				Intent conta = new Intent( Menu.this, ContaActivity.class );
				startActivity( conta );
			break;
			case R.id.opcc3:
				Intent categoria = new Intent( Menu.this, CategoriaActivity.class );
				startActivity( categoria );
			break;
			case R.id.opcc4:
				Intent lancamento = new Intent( Menu.this, LancamentoActivity.class );
				startActivity( lancamento );
			break;
			case R.id.opcc5:
				Intent relatorio = new Intent( Menu.this, RelatorioActivity.class );
				startActivity( relatorio );
			break;
		}
		
		return true;
    }
 
    public void onCreateContextMenu(ContextMenu menu, View view, ContextMenuInfo menuInfo)  {
         super.onCreateContextMenu(menu, view, menuInfo);
         onCreateOptionsMenu(menu);
    }
 
    public boolean onContextItemSelected(MenuItem item) {    
         return onOptionsItemSelected(item);    
    }
    */    
}